
async function asyncF1 () {
  setTimeout(() => {
    console.log('f1')
  }, 3000)
}

async function asyncF2 () {
  setTimeout(() => {
    console.log('f2')
  }, 3000)
}

// asyncF1()
// asyncF2()
async function f () {
  await console.log(1)
  await asyncF1()
  await console.log(2)
  await asyncF2()
}
f()
